<!DOCTYPE html>
<html>
<head>
    <title>new window</title>
    <meta charset="utf-8">
    <script type="text/javascript">
        window.onload = function(){
            document.getElementById("btn2").onclick = function(){
                window.close();
                //zhangaiping modified 
            };
        };

    </script>
</head>

<body>
<!--所有布局都放在admin-main内部-->
<div>
    <input type="button" value="关闭窗口" id="btn2">
</div>

</body>

</html>
